package cn.bugstack.springframework.beans.factory;

import cn.bugstack.springframework.beans.BeansException;

/**
 * <p>实现此接口，即能感知到所属的 BeanFactory
 * <p>reference: DerekYRC https://github.com/DerekYRC/mini-spring
 *
 * @author Yaxi.Zhang
 * @since 2022/12/18 17:30
 */
public interface BeanFactoryAware extends Aware {

    void setBeanFactory(BeanFactory beanFactory) throws BeansException;

}
